<html xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude"
      py:strip="">
<py:def function="tb_header">
<div id="toolbox_header">
	<table style="width: 100%;">
		<tbody>
			<tr>
				<td id="toolbox_header_left">
				<a href="/toolbox"><img src="/images/logo_zeroisp.png" /> </a>
				</td>
				<td id="toolbox_header_right" style="text-align: right">
					<p>
						<!-- Toolbox Header Right -->
						<span><a href="${root_url}">Change Team</a></span>
						<span>${request.identity.user.display_name} &lt;${request.identity.user.email_address}&gt;</span>
						<py:if test="tg.auth_stack_enabled" py:strip="True">
					    <span py:if="not request.identity" id="login" class="loginlogout"><a href="${tg.url('/login')}">Login</a></span>
				    	<span py:if="request.identity" id="login" class="loginlogout"><a href="${tg.url('/logout_handler')}">Logout</a></span>
				        <span class="jclock"></span>
				        </py:if>
				    </p>
				    <i py:if="defined('team')" class="quiet">currently working on ${team.title}</i>
				</td>
			</tr>
		</tbody>
	</table>
</div>
</py:def>
</html>